package javao.cn.work.orc.common;

import java.awt.*;

/**
 * @Description Rectangle 像素点常量值
 * @Author Admin小闫
 * @Date 2024/12/2
 */
public class RectConstants {

    private RectConstants() {
        throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
    }


    /**
     * 选择测量模式 识别像素点 PART_NAMES 值
     */
    public static final Rectangle SELECT_TEST_PART_NAME = new Rectangle(752, 280, 200, 19);

    /**
     * 选择测量模式 识别像素点 PART_NO 值
     */
    public static final Rectangle SELECT_TEST_PART_NO = new Rectangle(752, 300, 200, 19);

    /**
     * 选择测量模式 识别像素点 PART_COUNTER 值
     */
    public static final Rectangle SELECT_TEST_PART_COUNTER = new Rectangle(752, 320, 200, 19);

    /**
     * 选择测量模式 识别像素点 OPERATOR 值
     */
    public static final Rectangle SELECT_TEST_OPERATOR = new Rectangle(752, 340, 200, 19);

    /**
     * 选择测量模式 识别像素点 OPERATOR_AF 值
     */
    public static final Rectangle SELECT_TEST_OPERATOR_AF = new Rectangle(752, 360, 200, 19);

    /**
     * 选择测量模式 识别像素点 MACHINE 值
     */
    public static final Rectangle SELECT_TEST_MACHINE = new Rectangle(752, 380, 200, 19);

    /**
     * 选择测量模式 识别像素点 RZ_ACT 值
     */
    public static final Rectangle[][] SELECT_TEST_VALUE = {
            // 第一页的第一组数据
            {
                    new Rectangle(50, 595, 100, 25),   // MP HL1
                    new Rectangle(233, 647, 50, 80),   // Act
                    new Rectangle(425, 647, 70, 80),   // LT
                    new Rectangle(612, 647, 70, 80)    // ut
            },
            // 第一页的第二组数据
            {
                    new Rectangle(50, 1013, 100, 25),   // MP HL1
                    new Rectangle(233, 1069, 50, 80),   // Act
                    new Rectangle(425, 1069, 70, 80),   // LT
                    new Rectangle(612, 1069, 70, 80)    // ut
            },
            // 第二页的第一组数据
            {
                    new Rectangle(61, 101, 100, 25),   // MP HL1
                    new Rectangle(244, 157, 50, 80),   // Act
                    new Rectangle(431, 157, 70, 80),   // LT
                    new Rectangle(615, 157, 70, 80)    // ut
            }
            ,
            // 第二页的第二组数据
            {
                    new Rectangle(61, 521, 100, 25),   // MP HL1
                    new Rectangle(244, 578, 50, 80),   // Act
                    new Rectangle(431, 578, 70, 80),   // LT
                    new Rectangle(615, 578, 70, 80)    // ut
            }
    };

}
